package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperConfigCustomer implements Serializable {
    private Integer id;

    /**
     * 客户名称
     */
    private String name;

    /**
     * 客户类型(1:机关;2:企业;3:事业;4:合作伙伴;5:NGO;6:淘宝;7:居民;8:商户;9:居委会;10:物业;11:学校;12:学生;13:大宗客户;14:其他)
     */
    private Integer type;

    /**
     * 客户级别(1:重要;2:普通;3:不重要;4:其他)
     */
    private Integer cLevel;

    /**
     * 客户属性11111( 共享供应商合作回收销售）
     */
    private String attribute;

    /**
     * 客户状态 1:潜在  2：已签约
     */
    private Integer status;

    /**
     * 客户地址
     */
    private String addr;

    /**
     * 帐号名称
     */
    private String accountName;

    /**
     * 开户银行名称
     */
    private String bankName;

    /**
     * 银行帐号
     */
    private String bankNum;

    /**
     * 发票抬头
     */
    private String invoiceName;

    /**
     * 发票类型1:普通增值税;2:专用增值税
     */
    private Integer invoiceType;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date indate;

    /**
     * 修改时间
     */
    private Date modifTime;

    /**
     * 创建者
     */
    private String inauthor;

    /**
     * 修改者
     */
    private String upauthor;

    /**
     * 发票图片附件
     */
    private String invoiceImg;

    /**
     * 0--已删除，1--未删除
     */
    private Integer isDel;

    /**
     * 联系人
     */
    private String pcontact;

    /**
     * 联系电话
     */
    private String pphone;

    /**
     * 发票文件路径
     */
    private String billpath;

    /**
     * 客户财务联系人
     */
    private String cJPerson;

    /**
     * 客户财务联系电话
     */
    private String cJPhone;

    private String addrId;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 客户名称
     */
    public String getName() {
        return name;
    }

    /**
     * 客户名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 客户类型(1:机关;2:企业;3:事业;4:合作伙伴;5:NGO;6:淘宝;7:居民;8:商户;9:居委会;10:物业;11:学校;12:学生;13:大宗客户;14:其他)
     */
    public Integer getType() {
        return type;
    }

    /**
     * 客户类型(1:机关;2:企业;3:事业;4:合作伙伴;5:NGO;6:淘宝;7:居民;8:商户;9:居委会;10:物业;11:学校;12:学生;13:大宗客户;14:其他)
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 客户级别(1:重要;2:普通;3:不重要;4:其他)
     */
    public Integer getcLevel() {
        return cLevel;
    }

    /**
     * 客户级别(1:重要;2:普通;3:不重要;4:其他)
     */
    public void setcLevel(Integer cLevel) {
        this.cLevel = cLevel;
    }

    /**
     * 客户属性11111( 共享供应商合作回收销售）
     */
    public String getAttribute() {
        return attribute;
    }

    /**
     * 客户属性11111( 共享供应商合作回收销售）
     */
    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    /**
     * 客户状态 1:潜在  2：已签约
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 客户状态 1:潜在  2：已签约
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 客户地址
     */
    public String getAddr() {
        return addr;
    }

    /**
     * 客户地址
     */
    public void setAddr(String addr) {
        this.addr = addr;
    }

    /**
     * 帐号名称
     */
    public String getAccountName() {
        return accountName;
    }

    /**
     * 帐号名称
     */
    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    /**
     * 开户银行名称
     */
    public String getBankName() {
        return bankName;
    }

    /**
     * 开户银行名称
     */
    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    /**
     * 银行帐号
     */
    public String getBankNum() {
        return bankNum;
    }

    /**
     * 银行帐号
     */
    public void setBankNum(String bankNum) {
        this.bankNum = bankNum;
    }

    /**
     * 发票抬头
     */
    public String getInvoiceName() {
        return invoiceName;
    }

    /**
     * 发票抬头
     */
    public void setInvoiceName(String invoiceName) {
        this.invoiceName = invoiceName;
    }

    /**
     * 发票类型1:普通增值税;2:专用增值税
     */
    public Integer getInvoiceType() {
        return invoiceType;
    }

    /**
     * 发票类型1:普通增值税;2:专用增值税
     */
    public void setInvoiceType(Integer invoiceType) {
        this.invoiceType = invoiceType;
    }

    /**
     * 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 创建时间
     */
    public Date getIndate() {
        return indate;
    }

    /**
     * 创建时间
     */
    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 修改时间
     */
    public Date getModifTime() {
        return modifTime;
    }

    /**
     * 修改时间
     */
    public void setModifTime(Date modifTime) {
        this.modifTime = modifTime;
    }

    /**
     * 创建者
     */
    public String getInauthor() {
        return inauthor;
    }

    /**
     * 创建者
     */
    public void setInauthor(String inauthor) {
        this.inauthor = inauthor;
    }

    /**
     * 修改者
     */
    public String getUpauthor() {
        return upauthor;
    }

    /**
     * 修改者
     */
    public void setUpauthor(String upauthor) {
        this.upauthor = upauthor;
    }

    /**
     * 发票图片附件
     */
    public String getInvoiceImg() {
        return invoiceImg;
    }

    /**
     * 发票图片附件
     */
    public void setInvoiceImg(String invoiceImg) {
        this.invoiceImg = invoiceImg;
    }

    /**
     * 0--已删除，1--未删除
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 0--已删除，1--未删除
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 联系人
     */
    public String getPcontact() {
        return pcontact;
    }

    /**
     * 联系人
     */
    public void setPcontact(String pcontact) {
        this.pcontact = pcontact;
    }

    /**
     * 联系电话
     */
    public String getPphone() {
        return pphone;
    }

    /**
     * 联系电话
     */
    public void setPphone(String pphone) {
        this.pphone = pphone;
    }

    /**
     * 发票文件路径
     */
    public String getBillpath() {
        return billpath;
    }

    /**
     * 发票文件路径
     */
    public void setBillpath(String billpath) {
        this.billpath = billpath;
    }

    /**
     * 客户财务联系人
     */
    public String getcJPerson() {
        return cJPerson;
    }

    /**
     * 客户财务联系人
     */
    public void setcJPerson(String cJPerson) {
        this.cJPerson = cJPerson;
    }

    /**
     * 客户财务联系电话
     */
    public String getcJPhone() {
        return cJPhone;
    }

    /**
     * 客户财务联系电话
     */
    public void setcJPhone(String cJPhone) {
        this.cJPhone = cJPhone;
    }

    public String getAddrId() {
        return addrId;
    }

    public void setAddrId(String addrId) {
        this.addrId = addrId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", type=").append(type);
        sb.append(", cLevel=").append(cLevel);
        sb.append(", attribute=").append(attribute);
        sb.append(", status=").append(status);
        sb.append(", addr=").append(addr);
        sb.append(", accountName=").append(accountName);
        sb.append(", bankName=").append(bankName);
        sb.append(", bankNum=").append(bankNum);
        sb.append(", invoiceName=").append(invoiceName);
        sb.append(", invoiceType=").append(invoiceType);
        sb.append(", remark=").append(remark);
        sb.append(", indate=").append(indate);
        sb.append(", modifTime=").append(modifTime);
        sb.append(", inauthor=").append(inauthor);
        sb.append(", upauthor=").append(upauthor);
        sb.append(", invoiceImg=").append(invoiceImg);
        sb.append(", isDel=").append(isDel);
        sb.append(", pcontact=").append(pcontact);
        sb.append(", pphone=").append(pphone);
        sb.append(", billpath=").append(billpath);
        sb.append(", cJPerson=").append(cJPerson);
        sb.append(", cJPhone=").append(cJPhone);
        sb.append(", addrId=").append(addrId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperConfigCustomer other = (SuperConfigCustomer) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getcLevel() == null ? other.getcLevel() == null : this.getcLevel().equals(other.getcLevel()))
            && (this.getAttribute() == null ? other.getAttribute() == null : this.getAttribute().equals(other.getAttribute()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getAddr() == null ? other.getAddr() == null : this.getAddr().equals(other.getAddr()))
            && (this.getAccountName() == null ? other.getAccountName() == null : this.getAccountName().equals(other.getAccountName()))
            && (this.getBankName() == null ? other.getBankName() == null : this.getBankName().equals(other.getBankName()))
            && (this.getBankNum() == null ? other.getBankNum() == null : this.getBankNum().equals(other.getBankNum()))
            && (this.getInvoiceName() == null ? other.getInvoiceName() == null : this.getInvoiceName().equals(other.getInvoiceName()))
            && (this.getInvoiceType() == null ? other.getInvoiceType() == null : this.getInvoiceType().equals(other.getInvoiceType()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getModifTime() == null ? other.getModifTime() == null : this.getModifTime().equals(other.getModifTime()))
            && (this.getInauthor() == null ? other.getInauthor() == null : this.getInauthor().equals(other.getInauthor()))
            && (this.getUpauthor() == null ? other.getUpauthor() == null : this.getUpauthor().equals(other.getUpauthor()))
            && (this.getInvoiceImg() == null ? other.getInvoiceImg() == null : this.getInvoiceImg().equals(other.getInvoiceImg()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getPcontact() == null ? other.getPcontact() == null : this.getPcontact().equals(other.getPcontact()))
            && (this.getPphone() == null ? other.getPphone() == null : this.getPphone().equals(other.getPphone()))
            && (this.getBillpath() == null ? other.getBillpath() == null : this.getBillpath().equals(other.getBillpath()))
            && (this.getcJPerson() == null ? other.getcJPerson() == null : this.getcJPerson().equals(other.getcJPerson()))
            && (this.getcJPhone() == null ? other.getcJPhone() == null : this.getcJPhone().equals(other.getcJPhone()))
            && (this.getAddrId() == null ? other.getAddrId() == null : this.getAddrId().equals(other.getAddrId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getcLevel() == null) ? 0 : getcLevel().hashCode());
        result = prime * result + ((getAttribute() == null) ? 0 : getAttribute().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getAddr() == null) ? 0 : getAddr().hashCode());
        result = prime * result + ((getAccountName() == null) ? 0 : getAccountName().hashCode());
        result = prime * result + ((getBankName() == null) ? 0 : getBankName().hashCode());
        result = prime * result + ((getBankNum() == null) ? 0 : getBankNum().hashCode());
        result = prime * result + ((getInvoiceName() == null) ? 0 : getInvoiceName().hashCode());
        result = prime * result + ((getInvoiceType() == null) ? 0 : getInvoiceType().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getModifTime() == null) ? 0 : getModifTime().hashCode());
        result = prime * result + ((getInauthor() == null) ? 0 : getInauthor().hashCode());
        result = prime * result + ((getUpauthor() == null) ? 0 : getUpauthor().hashCode());
        result = prime * result + ((getInvoiceImg() == null) ? 0 : getInvoiceImg().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getPcontact() == null) ? 0 : getPcontact().hashCode());
        result = prime * result + ((getPphone() == null) ? 0 : getPphone().hashCode());
        result = prime * result + ((getBillpath() == null) ? 0 : getBillpath().hashCode());
        result = prime * result + ((getcJPerson() == null) ? 0 : getcJPerson().hashCode());
        result = prime * result + ((getcJPhone() == null) ? 0 : getcJPhone().hashCode());
        result = prime * result + ((getAddrId() == null) ? 0 : getAddrId().hashCode());
        return result;
    }
}